package fr.afcepf.atod.gestionVP.data;

import java.io.Serializable;
import java.lang.Integer;
import java.lang.String;
import javax.persistence.*;

/**
 * Entity implementation class for Entity: Client
 *
 */
@Entity
@Table(name="client")
public class Client implements Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	private Integer id;
	private String nom;
	private String typeSociete;
	@ManyToOne
	private Commercial commercial;
	
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}   
	public String getNom() {
		return this.nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}   
	public String getTypeSociete() {
		return this.typeSociete;
	}

	public void setTypeSociete(String typeSociete) {
		this.typeSociete = typeSociete;
	}

	public Commercial getCommercial() {
		return commercial;
	}

	public void setCommercial(Commercial commercial) {
		this.commercial = commercial;
	}
   
}
